package com.secondhand.project.service;

import com.secondhand.project.domain.Comment;

import java.util.List;

public interface ICommentService {

    List<Comment> selectTree(Comment comment);

    Long selectCount(Comment comment);

    Comment selectCommentById(Long id);

    List<Comment> selectCommentList(Comment comment);

    int insertComment(Comment comment);

    int updateComment(Comment comment);

    int deleteCommentByIds(Long[] ids);

    int deleteCommentById(Long id);
}
